package com.sqm.jpushlib;

import android.content.Context;

import cn.jpush.android.api.JPushInterface;

/**
 * Created by Kvin on 2017/5/5.
 */
public class JPushUtils {
    public static final String PER_SUFFIX = ".permission.JPUSH_MESSAGE";

    public static final String PUSH_REGISTER = "cn.jpush.android.intent.REGISTRATION";
    public static final String PUSH_MSG_RECEIVER = "cn.jpush.android.intent.MESSAGE_RECEIVED";
    public static final String PUSH_NOTIFY_RECEIVER = "cn.jpush.android.intent.NOTIFICATION_RECEIVED";
    public static final String PUSH_NOTIFY_OPEN = "cn.jpush.android.intent.NOTIFICATION_OPENED";
    public static final String PUSH_NET_CHECK = "cn.jpush.android.intent.CONNECTION";

    public static void init(Context context) {
        JPushInterface.init(context);
        JPushInterface.setDebugMode(true);
    }

}
